package com.nebula.upms.dao.mapper;

import com.nebula.upms.model.po.UpmsPrivilegeGroupPO;
import com.nebula.upms.model.po.UpmsPrivilegeGroupPOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpmsPrivilegeGroupPOMapper {
    long countByExample(UpmsPrivilegeGroupPOExample example);

    int deleteByExample(UpmsPrivilegeGroupPOExample example);

    int deleteByPrimaryKey(String privilegeGroupId);

    int insert(UpmsPrivilegeGroupPO record);

    int insertSelective(UpmsPrivilegeGroupPO record);

    List<UpmsPrivilegeGroupPO> selectByExample(UpmsPrivilegeGroupPOExample example);

    UpmsPrivilegeGroupPO selectByPrimaryKey(String privilegeGroupId);

    int updateByExampleSelective(@Param("record") UpmsPrivilegeGroupPO record, @Param("example") UpmsPrivilegeGroupPOExample example);

    int updateByExample(@Param("record") UpmsPrivilegeGroupPO record, @Param("example") UpmsPrivilegeGroupPOExample example);

    int updateByPrimaryKeySelective(UpmsPrivilegeGroupPO record);

    int updateByPrimaryKey(UpmsPrivilegeGroupPO record);
}